const line = {
  tooltip: {
    trigger: 'axis',
  },
  legend: {
    data: ['访客数量', 'ip数量'],
  },
  grid: {
    left: '3%',
    right: '4%',
    bottom: '3%',
    containLabel: true,
  },
  toolbox: {
    feature: {
      saveAsImage: {},
    },
  },
  xAxis: {
    type: 'category',
    boundaryGap: false,
    data: [],
  },
  yAxis: {
    type: 'value',
  },
  series: [
    {
      name: '访客数量',
      type: 'line',
      data: [],
    },
    {
      name: 'ip数量',
      type: 'line',
      data: [],
    },
  ],
}

export { line }
